package 线程.demo14;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/1 18:13
 */

public class Test {
    public static void main(String[] args) {
       Boy boy = new Boy();
       boy.setName("老王");
       Girl girl = new Girl();
       girl.setName("haha");
       boy.start();
       girl.start();


    }
}
